package com.xpec.canaan.util;

import java.util.ArrayList;


public class CompareResultRecorder {

	public CompareResultRecorder(String recorderName)
	{
		m_isEqual = true;
		m_deleteFiles = new ArrayList<String>();
		m_recorderName = recorderName;
	}
	
	public String getName()
	{
		return m_recorderName;
	}
	
	public void setIsEquals(boolean isequal)
	{
		m_isEqual = isequal;
	}
	
	public void addDeletedFile(String filename)
	{
		m_deleteFiles.add(filename);
	}
	
	public boolean getIsEquals()
	{
		return m_isEqual;
	}
	
	public ArrayList<String> getDeletedFiles()
	{
		return m_deleteFiles;
	}
	
	private String m_recorderName;
	private boolean m_isEqual;
	private ArrayList<String> m_deleteFiles;
	public static final String CompareFileName = "result.txt";
}
